var $;
var from;
var wellids;
layui.use(['form', 'colorpicker', 'layer'], function () {
  $ = layui.$;
  from = layui.form;

})
var resdata = function () {
  let dep3 = $("#dep3").val();
  let dep4 = $("#dep4").val();
  var nat = $("#n2").val();
  var data;
  if (dep3 == "" || dep4 == "") {
    data = true;
  } else {
    data = { dep3, dep4, nat }
  }
  return data;
}